<!-- TabBar 文章资讯 -->
<template>
  <view>
    <cu-custom bgColor="bg-gradual-blue" :isBack="true">
      <block slot="content">截图路由</block>
    </cu-custom>
    <view class="image-box">
      <image :src="base64" mode="widthFix" />
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      base64: "",
    };
  },
  onLoad(options) {
    if (options && options.data) {
      let base64 = decodeURIComponent(options.data);
      this.base64 = base64;
    }
  },
  methods: {
    turnToPage(item) {
      uni.navigateTo({ url: "/" + item });
    },
  },
  mounted() {},
};
</script>

<style lang="scss" scoped>
.image-box {
  width: 750rpx;
}
</style>
